package org.framework.dao.plugin;

import org.apache.ibatis.session.RowBounds;

public class Page {
	private int totalCount;
	private int displayStart = RowBounds.NO_ROW_OFFSET;
	private int displayLength = RowBounds.NO_ROW_LIMIT ;

	public int getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}

	public int getDisplayStart() {
		return displayStart;
	}

	public void setDisplayStart(int displayStart) {
		this.displayStart = displayStart;
	}

	public int getDisplayLength() {
		return displayLength;
	}

	public void setDisplayLength(int displayLength) {
		this.displayLength = displayLength;
	}

	@Override
	public String toString() {
		return "Page [totalCount=" + totalCount + ", displayStart=" + displayStart + ", displayLength=" + displayLength
				+ "]";
	}	
}
